package priv.wangy.micro.common.aop.encrypt;


import priv.wangy.micro.common.utils.EncryptType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 *@author wangy
 *@since 2024/9/10
 */
@Target(ElementType.FIELD)           //FIELD 说明该注解只能用在字段上
@Retention(RetentionPolicy.RUNTIME)  //RUNTIME 说明该注解在运行时生效
public @interface EncryptField {

    EncryptType value() default EncryptType.CUSTOM;
}
